.md-toolbar-tools {height: 40px;}
.ng-invalid-required + p { color: red;font-size: 0.85em; padding: 5px 0;}
.wmWindow .wmWindowBox div.wmTitleBar .wmButtonBar button.wmDetach {background: url('../images/window/detach.png') no-repeat 1px 1px;}
.wmWindow .wmWindowBox div.wmTitleBar .wmButtonBar button.wmIconize {background: url('../images/window/iconize.png') no-repeat 1px 1px;}
.containerIntestazione ul.dropdown-menu.multi-level li, .containerIntestazione ul.dropdown-menu {padding: 0;margin: 0;z-index: 10000;}
.containerIntestazione ul.dropdown-menu.multi-level a {background: transparent;color: #fff;font-size: 0.9em;padding: 5px 10px;padding-right: 15px;line-height: 20px;margin: 0;}
.containerIntestazione ul.dropdown-menu.multi-level a:hover {background: #0F699A;}
.containerIntestazione ul.dropdown-menu{background-color: #004F7B;border: 0;border-radius: 0;}
.containerIntestazione ul.dropdown-menu.multi-level li:hover{background: #0F699A;}
.containerIntestazione .btn-trasp{min-width: 42px;}
md-toolbar {min-height: 57px;height: 57px;}
.md-toolbar-tools {font-size: 15px;}
.fullWindowZone {height: 100%;}


md-toolbar .containerIntestazione {
	background-color: #fff;padding: 0 10px;width: 100%;display: table;font-size: 13px;letter-spacing: .005em;box-sizing: border-box;font-weight: 400;display: -webkit-flex;
	display: -ms-flexbox;display: flex;-webkit-align-items: center;-ms-flex-align: center;align-items: center;-webkit-flex-direction: row;
	-ms-flex-direction: row;flex-direction: row;width: 100%;padding: 0 16px;margin: 0;
}
.gridListdemoDynamicTiles md-icon {width: 50%;height: 30%;}
.gridListdemoDynamicTiles md-icon svg {-webkit-border-radius: 50%;-moz-border-radius: 50%;border-radius: 50%;}
.gridListdemoDynamicTiles .s64 {font-size: 64px;}
.gridListdemoDynamicTiles .s32 {font-size: 48px;}
.gridListdemoDynamicTiles md-icon.fa {display: block;padding-left: 0;}
.gridListdemoDynamicTiles md-icon.s32 span {padding-left: 8px;}
.gridListdemoDynamicTiles .gray {background: #f5f5f5;}
.gridListdemoDynamicTiles .green {background: #b9f6ca;}
.gridListdemoDynamicTiles .yellow {background: #ffff8d;}
.gridListdemoDynamicTiles .blue {background: #84ffff;}
.gridListdemoDynamicTiles .darkBlue {background: #80d8ff;}
.gridListdemoDynamicTiles .deepBlue {background: #448aff;}
.gridListdemoDynamicTiles .purple {background: #b388ff;}
.gridListdemoDynamicTiles .lightPurple {background: #8c9eff;}
.gridListdemoDynamicTiles .red {background: #ff8a80;}
.gridListdemoDynamicTiles .pink {background: #ff80ab;}
.gridListdemoDynamicTiles md-grid-tile {transition: all 300ms ease-out 50ms;}
.gridListdemoDynamicTiles md-grid-tile md-icon {padding-bottom: 32px;}
.gridListdemoDynamicTiles md-grid-tile md-grid-tile-footer {background: rgba(0, 0, 0, 0.68);height: 36px;}
.gridListdemoDynamicTiles md-grid-tile-footer figcaption {width: 100%;}
.gridListdemoDynamicTiles md-grid-tile-footer figcaption h3 {margin: 0;font-weight: 700;width: 100%;text-align: center;}

body .panel-default>.panel-heading {background: #F8F8F8;color: #333;padding: 8px 10px;}
body .panel-default>.panel-heading a { color: #333;}
body .panel-default>.panel-heading h4 {font-size: 1.2em;}
body md-backdrop.md-opaque.md-default-theme, body md-backdrop.md-opaque{background-color: rgba(255, 255, 255, 1.0);}
md-dialog-actions.layout-row {padding: 0;text-align: right;border-top: 1px solid #e5e5e5;clear: both;}
body ul.panelStrument li {padding: 0;}
body ul.panelStrument li button {margin: 0 10px 0 0;}

.panelStrument button {min-width: 24px;margin: 0;padding: 5px;min-height: 24px;font-size: 0.8em;line-height: 1.42857143;outline: none;border: 0px solid;background-image: none;border-radius: 3px;transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);box-shadow: 0 0 5px rgba(0,0,0,0.2);}
md-dialog form {margin-bottom: 0px;}
.md-tab.md-active {cursor: default;background: #F2F2F2;}
/*.tab-content md-tabs-content-wrapper {height: calc(100% - 49px);}*/
body md-pagination-wrapper,md-tabs-canvas{height: 34px;}
body .accordionMenu .md-tab {padding-top: 5px;padding-bottom: 5px;font-size: 0.9em;}
body md-tabs[md-border-bottom]:not(.md-dynamic-height) md-tabs-content-wrapper {top: 33px;}
body md-tab-item .detach{line-height:34px}

md-tabs:not (.md-no-tab-content ):not (.md-dynamic-height ) {height: 100%;}
md-tabs-canvas{background: #fff;}
md-tab-content {background: #F2F2F2;}

.searchBox+.md-padding {background-color: transparent;padding: 1px;padding-top: 0}
/*.contTab md-tab-item:nth-child(1) {background-color: #c63f77;color: #fff;opacity: 1;}*/
md-tabs.md-default-theme md-ink-bar, md-tabs md-ink-bar {
    color: #163544;
    background: transparent;/* #163544;*/
}
.contTab md-tab-item:nth-child(1) {
    background-color: #006298;/*#00507c;*/
    color: #fff;
    opacity: 1;
    /*text-transform: initial;*/
    /*font-style: italic;*/
    padding-left: 55px;
    /*letter-spacing: 1px;*/
}

body md-dialog .md-dialog-content {padding: 0;}
md-backdrop.md-opaque {display: none}

.md-dialog-container {box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);}
/*.ui-resizable-handle {width: 100%;height: 5px;position: absolute;background: red;}*/
.ui-resizable-handle.ui-resizable-e {width: 5px;height: 100%;right: 0;left: initial;}
.ui-resizable-handle.ui-resizable-s {bottom: 0;left: 0;}

.md-scroll-mask {display: none;}
.md-dialog-container {height: 225px;width: 500px;}

md-dialog._md-transition-in {max-width: 100%;max-height: 100%;box-shadow: none;width: 100%;border-radius: 0;position: absolute;top: 0;left: 0;right: 0;bottom: 0;}
md-dialog.ui-draggable.ui-draggable-handle.ui-resizable.md-dialog-fullscreen._md-transition-in{width: 100%;height: 100%;max-width: 95%;max-height: 90%;}

/*.modify:after {	content: "Modifica";background: rgba(51, 122, 183, 0.89);position: fixed;left: 0;color: #fff;text-align: center;right: 0;padding: 10px;transition: all 0.2s;bottom: 22px;}*/
.modify #searchBoxSmartEntity:after {content: "Modifica";background: rgba(51, 122, 183, 0.89);position: fixed;left: 0;color: #fff;text-align: center;right: 171px;padding: 11px;transition: all 0.2s;top: 0px;}
.modify .panelStrument{background: rgba(51, 122, 183, 0.89);margin: -10px 0 0 0;padding: 7px 10px 10px 18px;}

a.md-default-theme:not (.md-button ), a:not (.md-button ) {color: #222222;}

.menuBardemoBasicUsage .page-container {background-color: #f1f1f1;padding: 32px;}
.menuBardemoBasicUsage .page {margin: 0 auto;background-color: white;padding: 24px;max-width: 680px;box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.25);}
.menuBardemoBasicUsage .page h1 {text-align: center;font-size: 1.8rem;margin-top: 0;font-weight: normal;}
.menuBardemoBasicUsage .page p {line-height: 1.6rem;}
.dropdown-submenu {position: relative;}
.dropdown-submenu>.dropdown-menu {top: 0;left: 100%;border-top: 0px solid;margin-top: 0px;margin-left: -1px!important;-webkit-border-radius: 0 6px 6px 6px;-moz-border-radius: 0 6px 6px;border-radius: 0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu {display: block;}
.dropdown-submenu>a:after {display: block;content: " ";float: right;width: 0;height: 0;border-color: transparent;border-style: solid;border-width: 5px 0 5px 5px;border-left-color: #ccc;margin-top: 5px;margin-right: -10px;}
.dropdown-submenu:hover>a:after {border-left-color: #fff;}
.dropdown-submenu.pull-left {float: none;}
.dropdown-submenu.pull-left>.dropdown-menu {left: -100%;margin-left: 10px;-webkit-border-radius: 6px 0 6px 6px;-moz-border-radius: 6px 0 6px 6px;border-radius: 6px 0 6px 6px;}

@media ( max-width : 640px) {
	.menuContainer>.contTab {top: 0;}
	body .col-md-4 {width: 100%}
	md-dialog.md-dialog-fullscreen {top: 0 !important;left: 0 !important}
	
	.modify #searchBoxSmartEntity:after {content: "Modifica";right: 154px;min-height: 47px;}
	.modify .panelStrument {margin: -10px -100px 0 0px;padding: 8px 5px 9px 6px;}
}

body .panel-title a {color: #fff;}
.contTab md-content{height: 100%}
md-tabs:not(.md-no-tab-content):not(.md-dynamic-height){height: 100%;}
/*body .wmWindow .wmWindowBox div.wmTitleBar{background-color: #00507C;}*/
body .wmWindow .wmWindowBox{background-color: #fff}
body .wmWindow.resizing .wmWindowBox, body .wmWindow.moving .wmWindowBox{background-color: #EEEEEE}
body .wmWindow.resizing .wmWindowBox div.wmTitleBar,body .wmWindow.moving .wmWindowBox div.wmTitleBar {background-color: #0069A2;}
#dropupIconized.collaps li {float: none;}
#dropupIconized.collaps li button {color: #00507C;display: block;min-height: 30px;width: 100%;text-align: left;}
#dropupIconized.collaps li button:hover {color: #fff;}

.wmWindow.maximized {position: fixed;/*z-index: 1000000 !important;*/right: 10px;bottom: 10px; width: initial!important; height: initial!important;}
.void .wmButtonBar,.void .wmResize{display: none!important;}
body.void .innMenu {display: none;}
.void .wmWindow.maximized {top: 5px!important;}

body .submenuBox p{ margin-top: 0px;background: #333;color: #fff;padding: 5px 10px;margin-bottom: 0; font-size: 0.9em;font-weight: normal; text-shadow: none; box-shadow: none;}
/*p.panel-heading-no-mod.ng-binding {border-top-right-radius: 3px; border-top-left-radius: 3px;}*/
.submenuBox p + div {background: #fff;float: left;width: 100%;box-shadow: 0 3px 7px -4px rgba(0,0,0,0.5);border: 1px solid #E9E9E9; border-radius: 0 0 5px 5px;}

li.panel-body.submenuBox { box-shadow: none;}
.thumbnail { height: 280px !important; }
.btn-droppable { width: 180px; height: 30px; padding-left: 4px; }
.btn-draggable { width: 160px; }
.emage { height: 215px; } 

body .containerPanel{background: #fff; float: left;width: 100%;min-height:100px;padding:10px 5px;box-shadow: 0 3px 7px -4px rgba(0,0,0,0.5);border: 1px solid #E9E9E9;border-radius: 0 0 5px 5px;}

@media (max-width: 640px){
	/*body ul.panelStrument li{padding: 0 6px 0 0;}*/
	body ul.panelStrument li button {margin: 0 7px 0 0;}
	.panelStrument button {min-width: 28px;margin: 0;padding: 5px;min-height: 30px;}
	.mmenu p{display: none}
	.wmWindow {
	    position: fixed;
	    /*z-index: 1000000 !important;*/
	    height: auto!important;
	    top: 38px!important;
	    left: 5px!important;
	    right: 5px!important;
	    bottom: 27px!important;
	    width: initial!important;
	    box-sizing: border-box;
	}
}